<template>
  <el-tabs type="border-card" v-model="activeName" @tab-click="handleClick" class="left_tree_tap">
    <el-tab-pane label="函数" name="first">
      <function-Selector @funClick="funClick" />
    </el-tab-pane>
  </el-tabs>
</template>
<script>
  import request from "@/utils/requestutil";
  import {getRealUrl, syncRequest} from "@/utils/httpRequet";
  import $ from "jquery";
  import treeExhide from "@/components/ztree/lib/jquery.ztree.exhide.min.js";
  import dicPanel from '@/hr/utils/dicPanel'
  import { options } from 'runjs';
  import psTree from '@/components/psTree/psTree';
  import { isNull } from 'xe-utils/methods';
  import functionSelector from '@/components/FunctionSelector/FunctionSelector'
  export default {
     components: {
      psTree,
      dicPanel,
      functionSelector,
    },
    data() {
      return {
        activeName: 'first'
      };
    },
    
    
    methods: {
      handleClick(tab, event) {
        
      },
      //函数双击事件
      funClick(val,text) {
        this.val = val
        this.$emit('hssClick', " "+val)
      }
    }
  };
</script>
<style lang="scss" scoped>
.tabl ::v-deep{ 
    .el-tabs__header {
      margin-bottom: 0px;
      height: 33px;
      .el-tabs__nav-scroll{ height: 33px;}
  }
}
</style>